package com.Example;

public class BoxUserData {
	public int BodyIndex;
	public int BodyCollisionGroup;
	public boolean isDead;
	
	public boolean isDead() {
		return isDead;
	}

	public void setDead(boolean isDead) {
		this.isDead = isDead;
	}

	public BoxUserData(int index,int group)
	{
		SetIndex(index);
		this.setDead(false);
		SetCollisionGroup(group);
		
	}
	
	public void SetIndex(int index){
		BodyIndex=index;
	}
	
	public void SetCollisionGroup(int group){
		BodyCollisionGroup=group;
	}
	
	public int GetIndex(){
		return BodyIndex;
	}
	
	public int GetCollisionGroup(){
		return BodyCollisionGroup;
	}
}
